#ifndef IOSLAVE_H
#define IOSLAVE_H

#include <stdio.h>

#ifdef __cplusplus
extern "C"{
#endif

void slave_initialize();
int get_slave_size();

bool whether_normal_slave(int index, int product_code);
bool whether_iapec_slave(int index, int product_code);

/* You had better not to use a CLASS...
class CIO_Slave{
public:
    CIO_Slave() = default;
    int get_slave_size();

private:
    int attr_0;
    int attr_1;
};
*/

#ifdef __cplusplus
};
#endif
#endif  // IOSLAVE_H